package com.xinzhidi.web.equipment.domain.vo;

import com.xinzhidi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 设备ListVo对象 equipment
 *
 * @author ruoyi
 * @date 2023-05-29
 */
@ApiModel(value = "设备ListVo对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentListVo {
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "dtuId")
    private String dtuId;

    @ApiModelProperty(value = "dtu名称")
    @Excel(name = "dtu名称")
    private String dtuName;

    @ApiModelProperty(value = "协议类型")
    private String protocolType;

    @ApiModelProperty(value = "协议类型名称")
    private String protocolName;

    @ApiModelProperty(value = "小区id")
    private Long lotId;

    @ApiModelProperty(value = "小区名称")
    @Excel(name = "小区")
    private String lotName;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "楼栋名称")
    @Excel(name = "楼栋")
    private String buildName;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "单元名称")
    @Excel(name = "单元")
    private String unitName;

    @ApiModelProperty(value = "住户id")
    private String householdId;

    @ApiModelProperty(value = "住户名称")
    @Excel(name = "住户名称")
    private String userName;

    @ApiModelProperty(value = "门牌号")
    @Excel(name = "门牌号")
    private String houseNumber;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号")
    private String equipmentCode;

    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "设备类型名称")
    @Excel(name = "设备类型")
    private String equipmentTypeName;

    @ApiModelProperty(value = "设备分组id")
    private Long equipmentGroupId;

    @ApiModelProperty(value = "设备分组名称")
    @Excel(name = "设备分组")
    private String equipmentGroupName;

    @ApiModelProperty(value = "设备地址")
    @Excel(name = "设备地址")
    private String address;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "上次抄表时间")
    @Excel(name = "上次抄表时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;

    @ApiModelProperty(value = "是否主动抄表（1：是  2：否）")
    private String autoRead;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "设备状态(0未知 1 在线 2 离线)")
    private Integer status;

}
